package note;

public class TextNote {
    private String text;
    private int id = 0;

    public TextNote() {
        this.text = "";
    }

    public TextNote(String text) {
        this.text = text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public void setID(int id) {
        this.id = id;
    }

    public int getID() {
        return id;
    }

    public String getText() {
        return text;
    }

    public void printContent() {
        System.out.println("Text Note " + id + ": " + getText());
    }

}
